import { ConfirmDialogT2Config } from "../07-ConfirmDialog/ConfirmDialogT2Config"
import { ReminderType } from "./ReminderType"

/**
 * 通过Controller提供RootPageCommonView给外界的接口
 */
export interface RootPageCommonViewController {
  showConfirm(config: ConfirmDialogT2Config)

  showReminder(content: string, type: ReminderType)
}

/**
 * 代理
 */
export interface RootPageCommonViewDelegate {
  onCreate(controller: RootPageCommonViewController)
}